package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesSaleExpressDTO;
import com.hunttown.mes.rpc.domain.query.MesSaleExpressDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:34:53
 */
public interface MesSaleExpressRpcService {

    MesSaleExpressDTO insert(MesSaleExpressDTO mesSaleExpressDTO);

    Boolean updateInfoById(MesSaleExpressDTO mesSaleExpressDTO);

    Boolean updateInfoByQuery(MesSaleExpressDTOQuery mesSaleExpressDTOQuery);

    MesSaleExpressDTO selectById(Integer id);

    MesSaleExpressDTO selectObjByQuery(MesSaleExpressDTOQuery mesSaleExpressDTOQuery);

    Page<MesSaleExpressDTO> getListForPage(MesSaleExpressDTOQuery mesSaleExpressDTOQuery);

    Boolean deleteById(Integer id);
}